CREATE TABLE [dbo].[TTTIES_DOCU]
(
[CO_ESTA_DOCU] [dbo].[TD_VC_003] NOT NULL,
[ST_LETR] [dbo].[TD_VC_001_SINO] NOT NULL CONSTRAINT [DF__TTTIES_DO__ST_LE__32375140] DEFAULT ('N'),
[DE_ESTA_DOCU] [dbo].[TD_VC_100] NULL,
[ST_CANC] [dbo].[TD_VC_001_SINO] NULL CONSTRAINT [DF__TTTIES_DO__ST_CA__341F99B2] DEFAULT ('N'),
[ST_ESDO_0001] [dbo].[TD_VC_001_SINO] NULL CONSTRAINT [DF__TTTIES_DO__ST_ES__3607E224] DEFAULT ('N'),
[ST_ESDO_0002] [dbo].[TD_VC_001_SINO] NULL CONSTRAINT [DF__TTTIES_DO__ST_ES__37F02A96] DEFAULT ('N'),
[ST_ESDO_0003] [dbo].[TD_VC_001_SINO] NULL CONSTRAINT [DF__TTTIES_DO__ST_ES__39D87308] DEFAULT ('N'),
[ST_ESDO_0004] [dbo].[TD_VC_001_SINO] NULL CONSTRAINT [DF__TTTIES_DO__ST_ES__3BC0BB7A] DEFAULT ('N'),
[ST_ESDO_0005] [dbo].[TD_VC_001_SINO] NULL CONSTRAINT [DF__TTTIES_DO__ST_ES__3DA903EC] DEFAULT ('N'),
[ST_ESDO_0006] [dbo].[TD_VC_001_SINO] NULL CONSTRAINT [DF__TTTIES_DO__ST_ES__3F914C5E] DEFAULT ('N'),
[ST_ESDO_0007] [dbo].[TD_VC_001_SINO] NULL CONSTRAINT [DF__TTTIES_DO__ST_ES__417994D0] DEFAULT ('N'),
[ST_ESDO_0008] [dbo].[TD_VC_001_SINO] NULL CONSTRAINT [DF__TTTIES_DO__ST_ES__4361DD42] DEFAULT ('N'),
[ST_ESDO_0009] [dbo].[TD_VC_001_SINO] NULL CONSTRAINT [DF__TTTIES_DO__ST_ES__454A25B4] DEFAULT ('N'),
[ST_ESDO_0010] [dbo].[TD_VC_001_SINO] NULL CONSTRAINT [DF__TTTIES_DO__ST_ES__47326E26] DEFAULT ('N'),
[ST_ESDO_0011] [dbo].[TD_VC_001_SINO] NULL CONSTRAINT [DF__TTTIES_DO__ST_ES__491AB698] DEFAULT ('N'),
[ST_ESDO_0012] [dbo].[TD_VC_001_SINO] NULL CONSTRAINT [DF__TTTIES_DO__ST_ES__4B02FF0A] DEFAULT ('N'),
[ST_ESDO_0013] [dbo].[TD_VC_001_SINO] NULL CONSTRAINT [DF__TTTIES_DO__ST_ES__4CEB477C] DEFAULT ('N'),
[ST_ESDO_0014] [dbo].[TD_VC_001_SINO] NULL CONSTRAINT [DF__TTTIES_DO__ST_ES__4ED38FEE] DEFAULT ('N'),
[ST_ESDO_0015] [dbo].[TD_VC_001_SINO] NULL CONSTRAINT [DF__TTTIES_DO__ST_ES__50BBD860] DEFAULT ('N'),
[ST_ESDO_0016] [dbo].[TD_VC_001_SINO] NULL CONSTRAINT [DF__TTTIES_DO__ST_ES__52A420D2] DEFAULT ('N'),
[ST_ESDO_0017] [dbo].[TD_VC_001_SINO] NULL CONSTRAINT [DF__TTTIES_DO__ST_ES__548C6944] DEFAULT ('N'),
[ST_ESDO_0018] [dbo].[TD_VC_001_SINO] NULL CONSTRAINT [DF__TTTIES_DO__ST_ES__5674B1B6] DEFAULT ('N'),
[ST_ESDO_0019] [dbo].[TD_VC_001_SINO] NULL CONSTRAINT [DF__TTTIES_DO__ST_ES__585CFA28] DEFAULT ('N'),
[ST_ESDO_0020] [dbo].[TD_VC_001_SINO] NULL CONSTRAINT [DF__TTTIES_DO__ST_ES__5A45429A] DEFAULT ('N'),
[ST_ESDO_0021] [dbo].[TD_VC_001_SINO] NULL CONSTRAINT [DF__TTTIES_DO__ST_ES__5C2D8B0C] DEFAULT ('N'),
[ST_ESDO_0022] [dbo].[TD_VC_001_SINO] NULL CONSTRAINT [DF__TTTIES_DO__ST_ES__5E15D37E] DEFAULT ('N'),
[ST_ESDO_0023] [dbo].[TD_VC_001_SINO] NULL CONSTRAINT [DF__TTTIES_DO__ST_ES__5FFE1BF0] DEFAULT ('N'),
[ST_ESDO_0024] [dbo].[TD_VC_001_SINO] NULL CONSTRAINT [DF__TTTIES_DO__ST_ES__61E66462] DEFAULT ('N'),
[ST_ESDO_0025] [dbo].[TD_VC_001_SINO] NULL CONSTRAINT [DF__TTTIES_DO__ST_ES__63CEACD4] DEFAULT ('N'),
[ST_ESDO_0026] [dbo].[TD_VC_001_SINO] NULL CONSTRAINT [DF__TTTIES_DO__ST_ES__65B6F546] DEFAULT ('N'),
[ST_ESDO_0027] [dbo].[TD_VC_001_SINO] NULL CONSTRAINT [DF__TTTIES_DO__ST_ES__679F3DB8] DEFAULT ('N'),
[ST_ESDO_0028] [dbo].[TD_VC_001_SINO] NULL CONSTRAINT [DF__TTTIES_DO__ST_ES__6987862A] DEFAULT ('N'),
[ST_ESDO_0029] [dbo].[TD_VC_001_SINO] NULL CONSTRAINT [DF__TTTIES_DO__ST_ES__6B6FCE9C] DEFAULT ('N'),
[ST_ESDO_0030] [dbo].[TD_VC_001_SINO] NULL CONSTRAINT [DF__TTTIES_DO__ST_ES__6D58170E] DEFAULT ('N'),
[CO_USUA_CREA] [dbo].[TD_VC_008_USUA] NOT NULL CONSTRAINT [DF__TTTIES_DO__CO_US__6F405F80] DEFAULT (suser_sname()),
[FE_USUA_CREA] [dbo].[TD_DT_001_SIST] NOT NULL CONSTRAINT [DF__TTTIES_DO__FE_US__703483B9] DEFAULT (getdate()),
[CO_USUA_MODI] [dbo].[TD_VC_008_USUA] NOT NULL CONSTRAINT [DF__TTTIES_DO__CO_US__7128A7F2] DEFAULT (suser_sname()),
[FE_USUA_MODI] [dbo].[TD_DT_001_SIST] NOT NULL CONSTRAINT [DF__TTTIES_DO__FE_US__721CCC2B] DEFAULT (getdate())
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TTTIES_DOCU] WITH NOCHECK ADD CONSTRAINT [CK__TTTIES_DO__ST_CA__3513BDEB] CHECK NOT FOR REPLICATION (([ST_CANC]='N' OR [ST_CANC]='S'))
GO
ALTER TABLE [dbo].[TTTIES_DOCU] WITH NOCHECK ADD CONSTRAINT [CK__TTTIES_DO__ST_ES__36FC065D] CHECK NOT FOR REPLICATION (([ST_ESDO_0001]='N' OR [ST_ESDO_0001]='S'))
GO
ALTER TABLE [dbo].[TTTIES_DOCU] WITH NOCHECK ADD CONSTRAINT [CK__TTTIES_DO__ST_ES__38E44ECF] CHECK NOT FOR REPLICATION (([ST_ESDO_0002]='N' OR [ST_ESDO_0002]='S'))
GO
ALTER TABLE [dbo].[TTTIES_DOCU] WITH NOCHECK ADD CONSTRAINT [CK__TTTIES_DO__ST_ES__3ACC9741] CHECK NOT FOR REPLICATION (([ST_ESDO_0003]='N' OR [ST_ESDO_0003]='S'))
GO
ALTER TABLE [dbo].[TTTIES_DOCU] WITH NOCHECK ADD CONSTRAINT [CK__TTTIES_DO__ST_ES__3CB4DFB3] CHECK NOT FOR REPLICATION (([ST_ESDO_0004]='N' OR [ST_ESDO_0004]='S'))
GO
ALTER TABLE [dbo].[TTTIES_DOCU] WITH NOCHECK ADD CONSTRAINT [CK__TTTIES_DO__ST_ES__3E9D2825] CHECK NOT FOR REPLICATION (([ST_ESDO_0005]='N' OR [ST_ESDO_0005]='S'))
GO
ALTER TABLE [dbo].[TTTIES_DOCU] WITH NOCHECK ADD CONSTRAINT [CK__TTTIES_DO__ST_ES__40857097] CHECK NOT FOR REPLICATION (([ST_ESDO_0006]='N' OR [ST_ESDO_0006]='S'))
GO
ALTER TABLE [dbo].[TTTIES_DOCU] WITH NOCHECK ADD CONSTRAINT [CK__TTTIES_DO__ST_ES__426DB909] CHECK NOT FOR REPLICATION (([ST_ESDO_0007]='N' OR [ST_ESDO_0007]='S'))
GO
ALTER TABLE [dbo].[TTTIES_DOCU] WITH NOCHECK ADD CONSTRAINT [CK__TTTIES_DO__ST_ES__4456017B] CHECK NOT FOR REPLICATION (([ST_ESDO_0008]='N' OR [ST_ESDO_0008]='S'))
GO
ALTER TABLE [dbo].[TTTIES_DOCU] WITH NOCHECK ADD CONSTRAINT [CK__TTTIES_DO__ST_ES__463E49ED] CHECK NOT FOR REPLICATION (([ST_ESDO_0009]='N' OR [ST_ESDO_0009]='S'))
GO
ALTER TABLE [dbo].[TTTIES_DOCU] WITH NOCHECK ADD CONSTRAINT [CK__TTTIES_DO__ST_ES__4826925F] CHECK NOT FOR REPLICATION (([ST_ESDO_0010]='N' OR [ST_ESDO_0010]='S'))
GO
ALTER TABLE [dbo].[TTTIES_DOCU] WITH NOCHECK ADD CONSTRAINT [CK__TTTIES_DO__ST_ES__4A0EDAD1] CHECK NOT FOR REPLICATION (([ST_ESDO_0011]='N' OR [ST_ESDO_0011]='S'))
GO
ALTER TABLE [dbo].[TTTIES_DOCU] WITH NOCHECK ADD CONSTRAINT [CK__TTTIES_DO__ST_ES__4BF72343] CHECK NOT FOR REPLICATION (([ST_ESDO_0012]='N' OR [ST_ESDO_0012]='S'))
GO
ALTER TABLE [dbo].[TTTIES_DOCU] WITH NOCHECK ADD CONSTRAINT [CK__TTTIES_DO__ST_ES__4DDF6BB5] CHECK NOT FOR REPLICATION (([ST_ESDO_0013]='N' OR [ST_ESDO_0013]='S'))
GO
ALTER TABLE [dbo].[TTTIES_DOCU] WITH NOCHECK ADD CONSTRAINT [CK__TTTIES_DO__ST_ES__4FC7B427] CHECK NOT FOR REPLICATION (([ST_ESDO_0014]='N' OR [ST_ESDO_0014]='S'))
GO
ALTER TABLE [dbo].[TTTIES_DOCU] WITH NOCHECK ADD CONSTRAINT [CK__TTTIES_DO__ST_ES__51AFFC99] CHECK NOT FOR REPLICATION (([ST_ESDO_0015]='N' OR [ST_ESDO_0015]='S'))
GO
ALTER TABLE [dbo].[TTTIES_DOCU] WITH NOCHECK ADD CONSTRAINT [CK__TTTIES_DO__ST_ES__5398450B] CHECK NOT FOR REPLICATION (([ST_ESDO_0016]='N' OR [ST_ESDO_0016]='S'))
GO
ALTER TABLE [dbo].[TTTIES_DOCU] WITH NOCHECK ADD CONSTRAINT [CK__TTTIES_DO__ST_ES__55808D7D] CHECK NOT FOR REPLICATION (([ST_ESDO_0017]='N' OR [ST_ESDO_0017]='S'))
GO
ALTER TABLE [dbo].[TTTIES_DOCU] WITH NOCHECK ADD CONSTRAINT [CK__TTTIES_DO__ST_ES__5768D5EF] CHECK NOT FOR REPLICATION (([ST_ESDO_0018]='N' OR [ST_ESDO_0018]='S'))
GO
ALTER TABLE [dbo].[TTTIES_DOCU] WITH NOCHECK ADD CONSTRAINT [CK__TTTIES_DO__ST_ES__59511E61] CHECK NOT FOR REPLICATION (([ST_ESDO_0019]='N' OR [ST_ESDO_0019]='S'))
GO
ALTER TABLE [dbo].[TTTIES_DOCU] WITH NOCHECK ADD CONSTRAINT [CK__TTTIES_DO__ST_ES__5B3966D3] CHECK NOT FOR REPLICATION (([ST_ESDO_0020]='N' OR [ST_ESDO_0020]='S'))
GO
ALTER TABLE [dbo].[TTTIES_DOCU] WITH NOCHECK ADD CONSTRAINT [CK__TTTIES_DO__ST_ES__5D21AF45] CHECK NOT FOR REPLICATION (([ST_ESDO_0021]='N' OR [ST_ESDO_0021]='S'))
GO
ALTER TABLE [dbo].[TTTIES_DOCU] WITH NOCHECK ADD CONSTRAINT [CK__TTTIES_DO__ST_ES__5F09F7B7] CHECK NOT FOR REPLICATION (([ST_ESDO_0022]='N' OR [ST_ESDO_0022]='S'))
GO
ALTER TABLE [dbo].[TTTIES_DOCU] WITH NOCHECK ADD CONSTRAINT [CK__TTTIES_DO__ST_ES__60F24029] CHECK NOT FOR REPLICATION (([ST_ESDO_0023]='N' OR [ST_ESDO_0023]='S'))
GO
ALTER TABLE [dbo].[TTTIES_DOCU] WITH NOCHECK ADD CONSTRAINT [CK__TTTIES_DO__ST_ES__62DA889B] CHECK NOT FOR REPLICATION (([ST_ESDO_0024]='N' OR [ST_ESDO_0024]='S'))
GO
ALTER TABLE [dbo].[TTTIES_DOCU] WITH NOCHECK ADD CONSTRAINT [CK__TTTIES_DO__ST_ES__64C2D10D] CHECK NOT FOR REPLICATION (([ST_ESDO_0025]='N' OR [ST_ESDO_0025]='S'))
GO
ALTER TABLE [dbo].[TTTIES_DOCU] WITH NOCHECK ADD CONSTRAINT [CK__TTTIES_DO__ST_ES__66AB197F] CHECK NOT FOR REPLICATION (([ST_ESDO_0026]='N' OR [ST_ESDO_0026]='S'))
GO
ALTER TABLE [dbo].[TTTIES_DOCU] WITH NOCHECK ADD CONSTRAINT [CK__TTTIES_DO__ST_ES__689361F1] CHECK NOT FOR REPLICATION (([ST_ESDO_0027]='N' OR [ST_ESDO_0027]='S'))
GO
ALTER TABLE [dbo].[TTTIES_DOCU] WITH NOCHECK ADD CONSTRAINT [CK__TTTIES_DO__ST_ES__6A7BAA63] CHECK NOT FOR REPLICATION (([ST_ESDO_0028]='N' OR [ST_ESDO_0028]='S'))
GO
ALTER TABLE [dbo].[TTTIES_DOCU] WITH NOCHECK ADD CONSTRAINT [CK__TTTIES_DO__ST_ES__6C63F2D5] CHECK NOT FOR REPLICATION (([ST_ESDO_0029]='N' OR [ST_ESDO_0029]='S'))
GO
ALTER TABLE [dbo].[TTTIES_DOCU] WITH NOCHECK ADD CONSTRAINT [CK__TTTIES_DO__ST_ES__6E4C3B47] CHECK NOT FOR REPLICATION (([ST_ESDO_0030]='N' OR [ST_ESDO_0030]='S'))
GO
ALTER TABLE [dbo].[TTTIES_DOCU] WITH NOCHECK ADD CONSTRAINT [CK__TTTIES_DO__ST_LE__332B7579] CHECK NOT FOR REPLICATION (([ST_LETR]='N' OR [ST_LETR]='S'))
GO
ALTER TABLE [dbo].[TTTIES_DOCU] ADD CONSTRAINT [PK__TTTIES_D__5FC5C94D15DB09B4] PRIMARY KEY CLUSTERED  ([CO_ESTA_DOCU]) ON [PRIMARY]
GO
